home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960715-19961006 / 000117_news@columbia.edu _Wed Jul 31 13:47:41 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: news@columbia.edu
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id NAA07140 for <kermit.misc@watsun.cc.columbia.edu>; Wed, 31 Jul 1996 13:47:41 -0400 (EDT)
  3. Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.7.5/8.7.3) id NAA11551 for kermit.misc@watsun; Wed, 31 Jul 1996 13:47:40 -0400 (EDT)
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: ckermit: record (learn) macro?
  8. Date: 31 Jul 1996 17:47:20 GMT
  9. Organization: Columbia University
  10. Lines: 40
  11. Message-ID: <4to678$482@apakabar.cc.columbia.edu>
  12. References: <4tn41b$mqd@crl.crl.com>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14.  
  15. In article <4tn41b$mqd@crl.crl.com>, Tony Gonzalez <oak@crl.com> wrote:
  16. : In my dos com program I was able to dial and login to my unix shell account
  17. : and all could be recorded in a macro file which I could later execute.  So
  18. : the whole macro would automatically be created.  Can I do this in ckermit?
  19. No, sorry.
  20.  
  21. : The script language looks Greek to me and doing something like this really
  22. : helps learn the macro language fast and to the specific needs of the
  23. : individual.
  24. We might add learned scripts in a future release, but there are a lot of
  25. items on our to-do list and that one is fairly far down.  Learned scripts
  26. are not all they are cracked up to be; the program that is creating them 
  27. does not necessarily know what you know.  There is no substitute for human
  28. intelligence.
  29.  
  30. : The closest sample macro I seen in the docs to what I want to do is
  31. : the sample script below, but I hesitate to use it because it's not 
  32. : commented and I really don't know what's going on in some of the steps,
  33. : also, I'd have to add something like "DIAL MYISP" to the macro.
  34. : Anyone have a sample unix shell account dial in script?
  35. The one that you enclosed is the one most people are using:
  36.  
  37. : COMMENT - UNIXLOGIN macro.  Arguments:
  38. : ; \%1 = user ID
  39. : ; \%2 = password
  40. :
  41. The construction of this macro, and of macros and scripts in general, is
  42. the topic of three chapters of the manual, "Using C-Kermit".  Please
  43. consult the manual.  A couple brief hints: INPUT <seconds> <text> waits
  44. for the given text to appear within the given number of seconds.  IF
  45. SUCCESS or IF FAILURE are used to test whether it did or not.  OUTPUT
  46. <text> sends the <text> as if you had typed it.  \13 is carriage return,
  47. \%x, where x is any letter or digit, is a variable.  See the manual for
  48. the rest.
  49.  
  50. - Frank